<template>
  <div>==={{count}}
    app==={{n}}
    <input  type="button" @click="say()" value="btn"/>
    <hr/>
    <son2 v-model="n"></son2>
  </div>
</template>

<script>
import  son2   from  './components/son2.vue'
import {ref}  from  'vue'
import mixin  from  './mixins'
export default {
  mixins:[mixin],
  components:{son2},
  setup () {
    var n=ref(0)
    const say = () => {
      n.value++
    }
    return {n,say}
  }
}
</script>

<style lang="less" scoped>

</style>